package com.yourenbang.transaction.api.model.dto.manage;

import com.yourenbang.lingyun.core.model.dto.PageDTO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.time.LocalDate;

/**
 * Created on 2021/12/6
 *
 * @author qinmingtao
 * desc 提现记录列表查询条件
 */
@Data
public class QueryClientWithdrawDTO extends PageDTO {
    /**
     * 终端编号
     */
    @NotBlank(message = "终端编号不能为空")
    private String clientNo;
    /**
     * 提现申请开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginCreateTime;
    /**
     * 提现申请结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endCreateTime;
    /**
     * 提现状态
     * @see com.yourenbang.lingyun.transaction.web.controller.manage.ManageClientController#withdrawRecordChooseList()
     */
    private Integer withdrawStatus;
    /**
     * 账户类型
     * @see com.yourenbang.lingyun.transaction.web.controller.manage.ManageClientController#withdrawRecordChooseList()
     */
    private Integer accountType;
}
